package airport.shared.service;

import airport.shared.beans.HotelBean;
import com.google.gwt.user.client.rpc.AsyncCallback;

import java.util.ArrayList;

/**
 * Created by Romain on 04/03/15.
 */
public interface HotelServiceAsync {

	void selectAll(AsyncCallback<ArrayList<HotelBean>> async);

	void save(String nom, String adresse, int standing, Float tarif, AsyncCallback<String> async);

	void update(HotelBean hotel, AsyncCallback<String> async);

	void delete(HotelBean hotel, AsyncCallback<String> async);
}
